import os

import pytest

if __name__ =='__main__':
    # pytest.main([ './testcase/goodscenter','--alluredir', './result', '--clean-alluredir'])
    # pytest.main([ './testcase/ordercenter/test_order_new.py','--alluredir', './result', '--clean-alluredir'])
    # pytest.main([ './testcase/ordercenter','--alluredir', './result', '--clean-alluredir'])
    # pytest.main([ './testcase/usercenter/test_user.py','--alluredir', './result', '--clean-alluredir'])
    pytest.main([ './testcase/usercenter/test_user_new2.py','--alluredir', './result', '--clean-alluredir'])

    os.system('copy environment.properties result\\environment.properties')
    os.system('allure generate ./result/ -o ./report_allure/ --clean')
